package com.cloudbroker.bcs.platform.dav.bizapi.constants.type;

public enum ExtendAppSortFlag {

	DEFAULT_SORT(0, "默认排序"),

	VALID_TIME(1, "到期时间排序"),

	HOT_SORT(2, "热度排序"),
	;

	private final int val;

	private final String description;

	private String toString;

	private ExtendAppSortFlag(int val, String description) {
		this.val = val;
		this.description = description;
	}

	public int getVal() {
		return val;
	}

	public String getDescription() {
		return description;
	}

	@Override
	public String toString() {
		if (null == toString) {
			toString = new StringBuilder().append("StaffPwdKind[").append(val).append(':').append(description)
					.append(']').toString();
		}
		return toString;
	}

}
